package com.atguigu.servicebase.exceptionhandle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //生成有参数构造器
@NoArgsConstructor  //生成无参的构造器
public class GuliException extends RuntimeException {
    private Integer code;   //状态码
    private String msg; //异常信息
}
